<h1>New Review</h1>

<% form_for(@review, :url=>{:controller=>'reviews', :action=>'create'}) do |f| %>
    <fieldset>
      <div>
      <%= f.error_messages %>
      <%= f.label :content %><%= f.text_area :content, :rows => 3, :cols => 20 %>
      </div>
      <div>
      <%= f.label :rating %>
        <%= f.select(:rating, [ ['sehr gut', 5],
                                ['gut', 4],
                                ['mittel', 3],
                                ['schlecht', 2],
                                ['sehr schlecht', 1]]) %>
      </div>
      <div><%= f.submit "Create", :class => 'button' %></div>
    </fieldset>
<% end %>